package com.bestescortbedsystem.dao;

import com.bestescortbedsystem.entity.SesUserSharingMessage;
import com.bestescortbedsystem.entity.SesUserSharingMessageExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SesUserSharingMessageDao {
    long countByExample(SesUserSharingMessageExample example);

    int deleteByExample(SesUserSharingMessageExample example);

    int deleteByPrimaryKey(Long messageid);

    int insert(SesUserSharingMessage record);

    int insertSelective(SesUserSharingMessage record);

    List<SesUserSharingMessage> selectByExampleWithBLOBs(SesUserSharingMessageExample example);

    List<SesUserSharingMessage> selectByExample(SesUserSharingMessageExample example);

    SesUserSharingMessage selectByPrimaryKey(Long messageid);

    int updateByExampleSelective(@Param("record") SesUserSharingMessage record, @Param("example") SesUserSharingMessageExample example);

    int updateByExampleWithBLOBs(@Param("record") SesUserSharingMessage record, @Param("example") SesUserSharingMessageExample example);

    int updateByExample(@Param("record") SesUserSharingMessage record, @Param("example") SesUserSharingMessageExample example);

    int updateByPrimaryKeySelective(SesUserSharingMessage record);

    int updateByPrimaryKeyWithBLOBs(SesUserSharingMessage record);

    int updateByPrimaryKey(SesUserSharingMessage record);

    List<SesUserSharingMessage> selectAll(@Param("userType") int userType,@Param("messagetype") String messagetype);

    List<SesUserSharingMessage> selectAll1(@Param("messagetype") String messagetype);
}